package cn.iocoder.yudao.module.crm.controller.admin.task.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 任务单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TaskRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6368")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "下发时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("下发时间")
    private LocalDateTime issueTime;

    @Schema(description = "任务单类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11659")
    @ExcelProperty("任务单类型ID")
    private Long taskTypeId;

    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5369")
    @ExcelProperty("客户ID")
    private Long customerId;

    @Schema(description = "合同ID", example = "20019")
    @ExcelProperty("合同ID")
    private Long contractId;

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16713")
    @ExcelProperty("产品ID")
    private Long productId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3644")
    @ExcelProperty("用户ID")
    private Long userId;

}